//
//  ARTLineChartView.h
//  YunDaHome-iOS
//
//  Created by yunda on 2021/9/16.
//  Copyright © 2021 YunDa. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ARTLineChartView : UIView

// x轴
@property (strong, nonatomic)  NSArray *xLabelArray;
// y轴
@property (strong, nonatomic)  NSArray *yLabelArray;
// x轴
@property (strong, nonatomic)  NSArray *valueArray;

// 上限
@property (assign, nonatomic)  CGFloat  maxValue;
// 下限
@property (assign, nonatomic)  CGFloat  minValue;

// 是否为直方图
@property (assign, nonatomic)  CGFloat  isZhi;
// 线条颜色
@property (strong, nonatomic)  UIColor *lineColor;
// 是否需要跳跃
@property (assign, nonatomic)  CGFloat  canSkip;
// 跳跃最大值
@property (assign, nonatomic)  CGFloat  skip_max;
// 跳跃最小值
@property (assign, nonatomic)  CGFloat  skip_min;

// 图表image
@property (strong, nonatomic)  UIImage *chartSnapshotLayerImage;
@property (copy, nonatomic)  dispatch_block_t chartSnapshotCallbeck;

- (void)startDrawing;

- (void)startDrawing2;

- (void)startDrawing3;

- (void)startDrawing4;

@end

NS_ASSUME_NONNULL_END
